package com.xiang.demo;

public class Hello {

    public final String TAG = "Hello";
    public static float age = 32;

    static {
        System.loadLibrary("hellow-lib");
    }

    public native String getText();

    public native String outPut();

    public native static float outPutStatic();

    public native static float getNumber();


    public String getParameter(String txt) {

        return "测试让c 调用：" + txt;
    }

    public static float getAge() {
        return 45;
    }

    /**
     *
     * 动态注册
     * @param t1
     * @param t2
     * @return
     *
     *
     */
    public native int add(float t1, float t2);

    public native int sub(float t1, float t2);

    public native double mul(float t1, float t2);

    public native double div(float t1, float t2);


}
